<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>javascript showcase</title>
<link type="text/css" rel="stylesheet" href="../../common/prism/prism.css" />
<style type="text/css">
body {color:#969696;}
body > div > span {color: blue;}
body > div > div {font-weight:bold; color: black;}
</style>
<script type="text/javascript" src="../../common/prism/prism.js"></script>
<script type="text/javascript" src="../../common/js/jQuery/jquery-2.0.3.min.js"></script>
<script type="text/javascript" src="../../common/js/common_utils.js"></script>
<script type="text/javascript">
$(document).ready(function() {
	$('#isEmpty').click(function(){
		var str = "abc";
		$(this).next().text(str.isEmpty());
	});
});
</script>
</head>
<body>
<div>
	<div>빈 객체 여부</div>
	<pre class="language-javascript" >
	<code>
var str = "abc";
str.isEmpty();
	</code>
	</pre>
	<input type="button" value="실행" id="isEmpty" /> 결과 : <span></span>
</div>
</body>
</html>